<template>
  <!-- 团队成员 -->
  <view>
    <uni-navbar :title="'团队成员'"></uni-navbar>
    <div class="mem-one">
      <div>
        <span>全部部门</span>
        <image src="../../../static/application/xial.png" mode=""></image>
      </div>
      <div>
        <input type="text" >
        <span>搜索</span>
      </div>
    </div>
    <div class="mem-two" v-for="(item,index) in list" :key="index">
      <div>
        <div>
          <span>{{item.text}}</span>
          <span>{{item.name}}</span>
        </div>
        <span>{{item.phone}}</span>
      </div>
      <div>
        <view @click="kehulb">客户列表</view>
        <view>查看业绩</view>
      </div>
    </div>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        list:[
          {
            text:'直属院校',
            name:'张三',
            phone:'13465557645'
          },
          {
            text:'直属院校',
            name:'张三',
            phone:'13465557645'
          },
          {
            text:'直属院校',
            name:'张三',
            phone:'13465557645'
          },
          {
            text:'直属院校',
            name:'张三',
            phone:'13465557645'
          },
          {
            text:'直属院校',
            name:'张三',
            phone:'13465557645'
          }
        ]
      };
    },
    methods:{
      kehulb(){
        uni.navigateTo({
          url:'/pages/applications/mim-Customer/mim-Customer'
        })
      },
    }
  }
</script>

<style lang="scss">
.mem-one{
  padding: 28rpx;
  display: flex;
  align-items: center;
  background-color: #fff;
  margin-bottom: 20rpx;
  div:nth-child(1){
    span{
      font-size: 24rpx;
      font-weight: 400;
      color: #4D4D4D;
    }
    image{
      margin-left: 5rpx;
      width: 20rpx;
      height: 12rpx;
    }
  }
  div:nth-child(2){
    margin-left: 20rpx;
    display: flex;
    align-items: center;
    input{
      width: 469rpx;
      height: 46rpx;
      background: #F2F2F2;
      display: inline-block;
      flex: 1;
      padding-left: 20rpx;
    }
    
    span{
      margin-left: 20rpx;
      font-size: 26rpx;
      font-weight: 400;
      color: #4D4D4D;
    }
  }
}
.mem-two{
  padding: 30rpx;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 2rpx solid #eee;
  div:nth-child(1){
    div{
      margin-bottom: 20rpx;
      span{
        font-size: 26rpx;
        font-weight: 500;
        color: #4D4D4D;
      }
      span:nth-child(1){
        margin-right: 10rpx;
        width: 115rpx;
        display: inline-block;
        text-align: center;
        line-height: 29rpx;
        height: 29rpx;
        border: 1rpx solid #008EFE;
        border-radius: 15rpx;
        font-size: 20rpx;
        font-weight: 400;
        color: #008EFE;
      }
    }
    span{
      font-size: 24rpx;
      font-weight: 400;
      color: #4D4D4D;
    }
  }
  div:nth-child(2){
    display: flex;
    view{
      margin-top: 57rpx;
      margin-left: 30rpx;
      text-align: center;
      line-height: 41rpx;
      font-size: 24rpx;
      font-weight: 400;
      color: #FFFFFF;
      width: 125rpx;
      height: 41rpx;
      background: #0287FE;
      border-radius: 8rpx;
    }
  }
}
</style>
